package com.tsunami.authority.entity.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tsunami.base.entity.Entity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @author lx
 * @date 2024/2/23 10:05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("tnm_real_name")
@Schema(description = "实名信息")
public class RealName extends Entity<Long> {
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 证件号码
     */
    @Schema(description = "证件号码")
    @TableField(value = "card_id")
    private String cardId;
    /**
     * 真实姓名
     */
    @Schema(description = "真实姓名")
    @TableField(value = "name")
    private String name;
}
